package com.xncoding.easypoi.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 任免表
 * @Author: jeecg-boot
 * @Date:   2020-09-22
 * @Version: V1.0
 */
public class ReMianPage {
	
	/**姓名*/
	@Excel(name = "姓名", width = 15)
	private String xm;
	/**性别*/
		@Excel(name = "性别", width = 15)
	private String xb;
	/**出生年月*/
	@Excel(name = "出生年月", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private Date csny;

	@Excel(name = "照片",type = 2 ,width = 30 , height = 40,imageType = 1)
	private String zp;

	public String getXm() {
		return xm;
	}

	public void setXm(String xm) {
		this.xm = xm;
	}

	public String getXb() {
		return xb;
	}

	public void setXb(String xb) {
		this.xb = xb;
	}

	public Date getCsny() {
		return csny;
	}

	public void setCsny(Date csny) {
		this.csny = csny;
	}

	public String getZp() {
		return zp;
	}

	public void setZp(String zp) {
		this.zp = zp;
	}
}
